package com.user.repositories;

import com.user.model.vo.QueryServerInfoVo;
import com.user.model.vo.ServerChuZuVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface OtherRepository {

    @SelectProvider(type = OtherProvider.class, method = "getServerInfoListByPage")
    @Results
    List<ServerChuZuVo> getServerInfoListByPage(QueryServerInfoVo queryServerInfoVo);

    @SelectProvider(type = OtherProvider.class, method = "getServerInfoListCount")
    @Results
    int getServerInfoListCount(QueryServerInfoVo queryServerInfoVo);
}
